package com.czxy.dao;

import com.czxy.domain.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface UserMapper extends Mapper<User> {


    @Select("select *  from  user  where username = #{username}")
    public List<User> findUsersByUserName(@Param("username") String username);



}
